package com.haizol.service.impl.manage;

import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.BeanUtils;

import com.haizol.entity.PrizeInfoEntity;
import com.haizol.service.impl.common.AxxcSelfAbstractServiceImpl;
import com.haizol.service.manage.IPrizeInfoService;
import com.haizol.service.manage.vos.PrizeInfoVo;

@Service
public class PrizeInfoServiceImpl extends AxxcSelfAbstractServiceImpl<PrizeInfoEntity, PrizeInfoVo>
		implements IPrizeInfoService {

	@Override
	protected PrizeInfoVo entityToVo(PrizeInfoEntity t) {
		PrizeInfoVo infoRsp = new PrizeInfoVo();
		if (t != null) {
			BeanUtils.copyProperties(t, infoRsp);
		}
		return infoRsp;
	}

}
